//
//  ContentView.swift
//  PokeMaster
//
//  Created by Wang Wei on 2019/08/28.
//  Copyright © 2019 OneV's Den. All rights reserved.
//

import SwiftUI

struct ContentView: View {
    @EnvironmentObject var store: Store
    var body: some View {
        TabView {
            PokeManListView()
                .tabItem {
                    Image(systemName: "1.square.fill")
                    Text("列表")
                }
            SettingView()
                .tabItem {
                    Image(systemName: "2.square.fill")
                    Text("设置")
                }
            
        }
    }
}

struct ContentView_Previews: PreviewProvider {
    static var previews: some View {
        ContentView()
    }
}
